<?php

namespace App\Http\Repositories;

use App\Models\Tag;

class TagRepository
{
    protected $tagModel;

    public function __construct(Tag $tag)
    {
        $this->tagModel = $tag;
    }

    public function getIndex()
    {
        return $this->tagModel->getList(true);
    }
}